package ead.cs.service.workflow.executor;

import ead.cs.domain.workflow.Status;
import ead.cs.service.workflow.StatusExecutor;
import org.springframework.stereotype.Component;

@Component
public class RejectedItemExecutor implements StatusExecutor<Status> {

    @Override
    public void execute(String itemId) {
        //business logic to execute in SCHEDULED
    }

    @Override
    public Status getStatus() {
        return Status.REJECTED;
    }
}

